<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><s:property value="#session.access"/></title>
<meta name="viewport" content="width=device-width,inital-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/css/bootstrap.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/css/bootstrap-responsive.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap.js"></script>
<script type="text/javascript" >
$(function(){
	$("#err").text($("#msg").text());
})

function enter(evt){
	if(evt.keyCode==13 || evt.keyCode==42)
	{
		document.getElementById("sbtn").click();
	};
}

function change(obj)
{
	$("#"+obj).attr("src","code.html?height=28&time="+Math.random());
};
</script>
</head>
<body>
	<div class="container">
	
		
		<div class="navbar">
				<div class="navbar-inner">
				
					<div class="container">
						<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="<%=request.getContextPath()%>/">ATEPAY</a>
					
						<div class="nav-collapse">
							<ul class="nav">
								<li>
									<a href="<%=request.getContextPath()%>/web/about.jsp">关于我们</a>
								</li>
								<li>
									<a href="<%=request.getContextPath()%>/web/business.jsp">业务介绍</a>
								</li>
								<li>
									<a href="<%=request.getContextPath()%>/web/contect.jsp">联系我们</a>
								</li>
							</ul>
						</div>
					
					</div>
					
				</div>
			</div>
		
		
	
		<div class="row">
		
			<div class="span12">
					<br/><br/>
					<div class="hero-unit" style="background: url('<%=request.getContextPath()%>/image/focus.jpg') no-repeat right">
						<form action="<%=request.getContextPath()%>/subject_login.html" method="post">
						<h1>
							Welcome!
						</h1>
						<p>
							请输入您的登录信息.
						</p>
						<p>
							<input type="text" placeholder="帐号 : " name="subNo"  id="subNo" style="width:200px" value="" />
						</p>
						<p>
							<input type="password" placeholder="密码 : " name="subPwd" id="subPwd" style="width:200px" value=""/>
						</p>
						<p>
							<table border="0" >
								<tr>
									<td><input type="text"  placeholder="验证码 : " id="code"  name="code"  style="width: 100px" onkeypress="enter(event);"/></td>
									<td align="right"><a href="javascript:change('codeImage')"><img id="codeImage" src="<%=request.getContextPath() %>/code.html?height=28"/></a></td>
								</tr>
							</table>
						</p>
						<p>
							<label id="err"  style="color: red;"></label><div id="msg"  style="display: none;">&nbsp;<s:actionerror /></div>
						</p>
						<p>
							<input type="submit"  id="sbtn"   class="btn btn-primary btn-large"  value="登录系统" />
							<input type="button"  id="sbtn"   class="btn btn-large"  value="忘记密码" onclick="location.href='<%=request.getContextPath() %>/web/forget.jsp'" />
						</p>
						
						</form>
					</div>
					
					
				
			</div>
		</div>
		
		
		
				
		<div class="form-actions">
			<table width="100%" >
				<tr>
					<td height="25" align="center">&nbsp;@ 2016-2019 <%=request.getServerName()%> 版权所有</td>
				</tr>
			</table>
		</div>
		
		
	</div>
	
	
	
	
	
</body>
</html>


